import React from 'react'
import { useRoutes } from 'react-router-dom'
import  {router}  from './router'
const App = () => {
  const routes = useRoutes  (router)
  return (
    <div>
      {routes}
    </div>
  )
}

export default App
